package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.CarPackageAudit;
import cn.wolfcode.car.business.query.CarPackageAuditQuery;
import cn.wolfcode.car.common.base.page.TablePage;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.InputStream;
import java.text.ParseException;
import java.util.List;

/**
 * 流程定义列表接口
 */
public interface ICarPackageAuditService extends IService<CarPackageAudit> {

    /**
     * 分页
     * @param qo
     * @return
     */
    TablePage<CarPackageAudit> query(CarPackageAuditQuery qo);


    /**
     * 查单个
     * @param id
     * @return
     */
    CarPackageAudit get(Long id);

    /**
     *  批量删除
     * @param ids
     */
    void deleteBatch(String ids);


    void startAudit(Long id, Long bpmnInfoId, Long director, Long finance, String info);

    void cancelApply(Long id);

    InputStream getDiagramAsStream(Long id);

    void audit(Long id, Integer auditStatus, String info);
}
